#include"CPolygon.h"
#include"CRectange.h"
CRectangle::CRectangle(int w, int h) :CPolygon(w)
{
	height = h;
}
int CRectangle::area()
{
	return(width * height);
}